<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Bezdelnick
 * Date: 12.04.13
 * Time: 13:36
 * To change this template use File | Settings | File Templates.
 */
class News
{
    private $id;
    private $name;
    private $description;
    private $publicDate;

    public function setId($id)
    {
        $this->id = $id;
    }

    public function getId()
    {
        return $this->id;
    }

    public function setName($name)
    {
        $this->name = $name;
    }

    public function getName()
    {
        return $this->name;
    }

    public function setDescription($description)
    {
        $this->description = $description;
    }

    public function getDescription()
    {
        return $this->description;
    }

    public function setPublicDate($publicDate)
    {
        $this->publicDate = $publicDate;
    }

    public function getPublicDate()
    {
        return $this->publicDate;
    }
}
